cmake_minimum_required(VERSION 3.15)
project(YOLOv8-Runtime)

# 查找TensorRT
find_package(TensorRT REQUIRED)
include_directories(${TensorRT_INCLUDE_DIRS})

# 查找OpenVINO
find_package(OpenVINO REQUIRED COMPONENTS Runtime)
include_directories(${OpenVINO_INCLUDE_DIRS})

# 添加TensorRT引擎
add_subdirectory(tensorrt_engine)

# 添加OpenVINO引擎
add_subdirectory(openvino_engine)